package com.account.service;

import com.entity.Account;
import com.entity.Authority;
import org.apache.ibatis.annotations.Select;


import java.util.List;

public interface AccountService {
    public Account login(Account account);
    //根据用户名取得用户
    public Account loginByUserName(String  username);
    //根据用户名取得用户权限
    public List<Authority> findAuthoritiesByUsername(String username);
    public List<Account> getAccountList(String username);
    public int uploadAvatar(Account account);

}
